```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cursor 编辑器使用指南</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        h1, h2, h3, h4 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 600;
            color: #222;
        }
        .hero {
            background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
            color: white;
        }
        .card {
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        .keyboard-key {
            display: inline-block;
            padding: 0.2em 0.5em;
            background: #f0f0f0;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-family: monospace;
            font-size: 0.9em;
            box-shadow: 0 1px 0 rgba(0,0,0,0.2);
        }
        .feature-icon {
            font-size: 2.5rem;
            color: #6e8efb;
            margin-bottom: 1rem;
        }
        .dark-bg {
            background-color: #2d3748;
            color: white;
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 3.5em;
            line-height: 0.8em;
            padding-right: 0.1em;
            font-weight: bold;
            color: #6e8efb;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero py-20 px-4 sm:px-6 lg:px-8">
        <div class="max-w-6xl mx-auto text-center">
            <h1 class="text-4xl md:text-5xl font-bold mb-6">Cursor 编辑器完全指南</h1>
            <p class="text-xl md:text-2xl mb-8">探索这款融合AI智能的现代化代码编辑器的强大功能</p>
            <div class="flex justify-center space-x-4">
                <a href="#ui" class="px-6 py-3 bg-white text-indigo-600 font-medium rounded-lg hover:bg-gray-100 transition duration-300">界面概览</a>
                <a href="#shortcuts" class="px-6 py-3 bg-indigo-800 text-white font-medium rounded-lg hover:bg-indigo-900 transition duration-300">快捷键大全</a>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <!-- UI Section -->
        <section id="ui" class="mb-16">
            <div class="flex items-center mb-8">
                <i class="fas fa-desktop feature-icon mr-4"></i>
                <h2 class="text-3xl font-bold">用户界面组成</h2>
            </div>
            
            <div class="drop-cap mb-6">
                初次打开 Cursor，您会看到一个精心设计的界面，融合了传统代码编辑器的布局结构与 AI 功能的创新元素。了解这些界面组件将帮助您更高效地使用 Cursor。
            </div>

            <div class="grid md:grid-cols-2 gap-8 mb-12">
                <div class="card bg-white p-6 rounded-xl">
                    <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1744604486607-513f0832-9f04-42af-bb66-97c279bcbf3d.png" alt="Cursor界面" class="w-full h-auto rounded-lg mb-4">
                    <h3 class="text-xl font-semibold mb-3">主界面布局与面板介绍</h3>
                    <p class="text-gray-700">Cursor 的主界面可以分为以下几个主要区域：</p>
                </div>
                <div class="card bg-white p-6 rounded-xl">
                    <div class="mermaid mb-4">
                        graph TD
                            A[活动栏] --> B[资源管理器]
                            A --> C[搜索]
                            A --> D[源代码管理]
                            A --> E[运行与调试]
                            A --> F[扩展市场]
                            A --> G[AI助手]
                    </div>
                    <h3 class="text-xl font-semibold mb-3">功能区域概览</h3>
                    <p class="text-gray-700">了解各功能区域的位置和用途，提高工作效率</p>
                </div>
            </div>

            <div class="bg-indigo-50 p-6 rounded-xl mb-8">
                <h3 class="text-2xl font-semibold mb-4 flex items-center">
                    <i class="fas fa-columns mr-3"></i>主界面组成部分
                </h3>
                <div class="grid md:grid-cols-2 gap-4">
                    <div class="bg-white p-4 rounded-lg">
                        <h4 class="font-semibold text-lg text-indigo-700 mb-2">1. 活动栏（Activity Bar）</h4>
                        <p class="text-gray-700">位于左侧最窄的一列，包含多个图标，用于切换不同的视图</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg">
                        <h4 class="font-semibold text-lg text-indigo-700 mb-2">2. 侧边栏（Side Bar）</h4>
                        <p class="text-gray-700">位于活动栏右侧，显示当前选中视图的内容</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg">
                        <h4 class="font-semibold text-lg text-indigo-700 mb-2">3. 编辑器区域（Editor Area）</h4>
                        <p class="text-gray-700">中央主要区域，用于编辑代码文件</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg">
                        <h4 class="font-semibold text-lg text-indigo-700 mb-2">4. 面板（Panel）</h4>
                        <p class="text-gray-700">位于底部的区域，包含问题、输出、终端等功能</p>
                    </div>
                </div>
            </div>

            <div class="mb-12">
                <h3 class="text-2xl font-semibold mb-4 flex items-center">
                    <i class="fas fa-sliders-h mr-3"></i>自定义布局技巧
                </h3>
                <div class="grid md:grid-cols-3 gap-6">
                    <div class="card bg-white p-6 rounded-xl">
                        <div class="text-4xl text-indigo-600 mb-4">
                            <i class="fas fa-arrows-alt"></i>
                        </div>
                        <h4 class="font-semibold text-lg mb-2">面板调整</h4>
                        <ul class="text-gray-700 space-y-2">
                            <li>通过拖拽面板边缘调整大小</li>
                            <li>拖动面板标题改变位置</li>
                            <li>双击面板标题最大化/还原</li>
                        </ul>
                    </div>
                    <div class="card bg-white p-6 rounded-xl">
                        <div class="text-4xl text-indigo-600 mb-4">
                            <i class="fas fa-code"></i>
                        </div>
                        <h4 class="font-semibold text-lg mb-2">编辑器分割</h4>
                        <ul class="text-gray-700 space-y-2">
                            <li>右键点击编辑器标签分割</li>
                            <li>使用快捷键垂直/水平分割</li>
                            <li>多窗口同时编辑提高效率</li>
                        </ul>
                    </div>
                    <div class="card bg-white p-6 rounded-xl">
                        <div class="text-4xl text-indigo-600 mb-4">
                            <i class="fas fa-eye"></i>
                        </div>
                        <h4 class="font-semibold text-lg mb-2">视图隐藏/显示</h4>
                        <ul class="text-gray-700 space-y-2">
                            <li>切换侧边栏显示/隐藏</li>
                            <li>快速隐藏底部面板</li>
                            <li>专注模式去除干扰</li>
                        </ul>
                    </div>
                </div>
            </div>
        </section>

        <!-- Navigation Section -->
        <section id="navigation" class="mb-16">
            <div class="flex items-center mb-8">
                <i class="fas fa-directions feature-icon mr-4"></i>
                <h2 class="text-3xl font-bold">核心功能区导航</h2>
            </div>

            <div class="grid md:grid-cols-2 gap-8 mb-8">
                <div class="card bg-white p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-4 flex items-center">
                        <i class="fas fa-file-code mr-2"></i> 编辑区与文件导航
                    </h3>
                    <ul class="space-y-3">
                        <li>
                            <span class="font-medium">文件间导航：</span>
                            <span class="text-gray-700">使用 <span class="keyboard-key">Ctrl+Tab</span> 在最近使用的文件之间切换</span>
                        </li>
                        <li>
                            <span class="font-medium">文件内导航：</span>
                            <span class="text-gray-700">使用 <span class="keyboard-key">Ctrl+G</span> 跳转到指定行号</span>
                        </li>
                        <li>
                            <span class="font-medium">多光标编辑：</span>
                            <span class="text-gray-700">按住 <span class="keyboard-key">Alt</span> 并点击不同位置创建多个光标</span>
                        </li>
                        <li>
                            <span class="font-medium">代码折叠：</span>
                            <span class="text-gray-700">使用 <span class="keyboard-key">Ctrl+Shift+[</span> 折叠当前代码块</span>
                        </li>
                    </ul>
                </div>
                <div class="card bg-white p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-4 flex items-center">
                        <i class="fas fa-robot mr-2"></i> 终端与AI对话面板
                    </h3>
                    <ul class="space-y-3">
                        <li>
                            <span class="font-medium">终端操作：</span>
                            <span class="text-gray-700">使用 <span class="keyboard-key">Ctrl+`</span> 打开/关闭集成终端</span>
                        </li>
                        <li>
                            <span class="font-medium">AI 对话面板：</span>
                            <span class="text-gray-700">使用 <span class="keyboard-key">Ctrl+/</span> 打开 AI 对话面板</span>
                        </li>
                        <li>
                            <span class="font-medium">上下文理解：</span>
                            <span class="text-gray-700">AI 会理解当前上下文并提供帮助</span>
                        </li>
                        <li>
                            <span class="font-medium">引用代码：</span>
                            <span class="text-gray-700">使用 <span class="keyboard-key">@</span> 符号引用特定文件或代码片段</span>
                        </li>
                    </ul>
                </div>
            </div>
        </section>

        <!-- Shortcuts Section -->
        <section id="shortcuts" class="mb-16">
            <div class="flex items-center mb-8">
                <i class="fas fa-keyboard feature-icon mr-4"></i>
                <h2 class="text-3xl font-bold">快捷键系统</h2>
            </div>

            <div class="card bg-white p-6 rounded-xl mb-8">
                <h3 class="text-xl font-semibold mb-4">必备快捷键列表</h3>
                
                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead class="bg-gray-50">
                            <tr>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">操作</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Windows/Linux</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">macOS</th>
                            </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                            <tr class="hover:bg-gray-50">
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">撤销</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Ctrl+Z</span></td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Cmd+Z</span></td>
                            </tr>
                            <tr class="hover:bg-gray-50">
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">重做</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Ctrl+Y</span></td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Shift+Cmd+Z</span></td>
                            </tr>
                            <tr class="hover:bg-gray-50">
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">打开 AI 对话面板</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Ctrl+/</span></td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Cmd+/</span></td>
                            </tr>
                            <tr class="hover:bg-gray-50">
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">查找</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Ctrl+F</span></td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Cmd+F</span></td>
                            </tr>
                            <tr class="hover:bg-gray-50">
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">快速打开文件</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Ctrl+P</span></td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><span class="keyboard-key">Cmd+P</span></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <div class="card bg-white p-6 rounded-xl">
                <h3 class="text-xl font-semibold mb-4">自定义快捷键教程</h3>
                <div class="grid md:grid-cols-2 gap-6">
                    <div>
                        <h4 class="font-semibold text-lg mb-2">修改现有快捷键</h4>
                        <ol class="list-decimal pl-5 space-y-2 text-gray-700">
                            <li>使用 <span class="keyboard-key">Ctrl+K Ctrl+S</span> 打开快捷键设置</li>
                            <li>找到您要修改的命令</li>
                            <li>点击该行，然后点击出现的铅笔图标</li>
                            <li>按下您想要设置的新快捷键组合</li>
                        </ol>
                    </div>
                    <div>
                        <h4 class="font-semibold text-lg mb-2">示例配置文件</h4>
                        <div class="bg-gray-800 text-gray-100 p-4 rounded-lg overflow-x-auto">
                            <pre><code>{
  "key": "alt+/",
  "command": "cursor.chat.newChat",
  "when": "editorTextFocus"
}</code></pre>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- View Modes Section -->
        <section id="views" class="mb-16">
            <div class="flex items-center mb-8">
                <i class="fas fa-eye feature-icon mr-4"></i>
                <h2 class="text-3xl font-bold">视图模式与显示选项</h2>
            </div>

            <div class="grid md:grid-cols-2 gap-8 mb-8">
                <div class="card bg-white p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-4 flex items-center">
                        <i class="fas fa-spa mr-2"></i> 专注模式与全屏工作
                    </h3>
                    <ul class="space-y-4">
                        <li>
                            <span class="font-medium">Zen 模式：</span>
                            <span class="text-gray-700">通过 <span class="keyboard-key">Ctrl+K Z</span> 启用，隐藏所有界面元素</span>
                        </li>
                        <li>
                            <span class="font-medium">全屏模式：</span>
                            <span class="text-gray-700">通过 <span class="keyboard-key">F11</span> 启用，保留所有界面元素</span>
                        </li>
                        <li>
                            <span class="font-medium">分心模式：</span>
                            <span class="text-gray-700">降低非活动代码区域的亮度，突出当前工作区域</span>
                        </li>
                    </ul>
                </div>
                <div class="card bg-white p-6 rounded-xl">
                    <h3 class="text-xl font-semibold mb-4 flex items-center">
                        <i class="fas fa-window-restore mr-2"></i> 多窗口与分屏操作
                    </h3>
                    <ul class="space-y-4">
                        <li>
                            <span class="font-medium">编辑器分组：</span>
                            <span class="text-gray-700">通过拖拽或使用 <span class="keyboard-key">Ctrl+\</span> 创建编辑器组</span>
                        </li>
                        <li>
                            <span class="font-medium">窗口管理：</span>
                            <span class="text-gray-700">在新窗口中打开当前文件夹或循环切换编辑器组</span>
                        </li>
                        <li>
                            <span class="font-medium">并排比较：</span>
                            <span class="text-gray-700">比较两个文件的差异，适合代码审查</span>
                        </li>
                    </ul>
                </div>
            </div>

            <div class="bg-indigo-50 p-6 rounded-xl">
                <h3 class="text-2xl font-semibold mb-4">屏幕利用率优化技巧</h3>
                <div class="grid md:grid-cols-3 gap-4">
                    <div class="bg-white p-4 rounded-lg">
                        <div class="flex items-center mb-2">
                            <span class="keyboard-key mr-2">Ctrl+B</span>
                            <span class="font-medium">切换侧边栏</span>
                        </div>
                        <p class="text-sm text-gray-600">需要时显示，不需要时隐藏</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg">
                        <div class="flex items-center mb-2">
                            <span class="keyboard-key mr-2">Ctrl+J</span>
                            <span class="font-medium">切换底部面板</span>
                        </div>
                        <p class="text-sm text-gray-600">快速显示/隐藏终端和问题面板</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg">
                        <div class="flex items-center mb-2">
                            <span class="keyboard-key mr-2">F11</span>
                            <span class="font-medium">全屏模式</span>
                        </div>
                        <p class="text-sm text-gray-600">最大化工作区域</p>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <!-- Footer -->
    <footer class="dark-bg py-8">
        <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex flex-col items-center">
                <div class="text-xl font-semibold text-white mb-2">技术小馆</div>
                <a href="http://www.yuque.com/jtostring" class="text-indigo-300 hover:text-white transition duration-300">http://www.yuque.com/jtostring</a>
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>
```